<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@pageisELIgnored="false"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>蓝色音乐网站</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
<script type="text/javascript">
function check(){
	var SiName = document.singerform.SiName.value;	
	if(SiName == null || SiName == ""){
		alert("姓名不能为空！");
		return false;
	}
	return true;
}

</script>
</head>
<body>
<div id="middle">
  <form action="/singer/singerUpdate" method="post" name="singerform" onsubmit="return check()">
    <table width="500px" border="1" cellspacing="0"  cellpadding="10px" align="center">
      <caption>
      <h1>编辑歌手</h1>
      </caption>
	  <tr>
        <td width="25%" align="right">* 编号：</td>
        <td width="52%"><input name="SiNo" type="text" id="SiNo" readonly="readonly"  value="${singer.singerNo}"  class="inputclass"/></td>
      </tr>
      <tr>
        <td width="25%" align="right">* 姓名：</td>
        <td width="52%"><input name="SiName" type="text" id="SiName" value="${singer.singerName}"   class="inputclass"/></td>
      </tr>
      <tr>
        <td align="right"> 区域：</td>
        <td><input name="SiArea" type="text" id="SiArea" value="${singer.singerArea}"  class="inputclass"/></td>
      </tr>
      <tr>
           <td align="right"> 类别：</td>
                <td>
                  <c:choose>
                  <c:when test="${singer.singerGender=='男'}">
                  <input type="radio" name="gender" value="男" checked>男
                  <input type="radio" name="gender" value="女">女
                  </c:when>
                  <c:when test="${singer.singerGender=='女'}">
                  <input type="radio" name="gender" value="男">男
                  <input type="radio" name="gender" value="女" checked>女
                  </c:when>
                  </c:choose>
                  </td>
      </tr>
      <tr>
        <td align="right">备注：</td>
        <td><textarea name="SiRemark" rows="3" cols="50" class="textarea">${singer.singerRemark}</textarea></td>
      </tr>
      <tr>
        <td colspan="2" align="center"><input name="button" type="submit"  class="button" value=" 提交 " />
          <input name="button2" type="reset" class="button" style="margin-left:10px;" value=" 重置 " /></td>
      </tr>
    </table>
  </form>
</div>
</body>
</html>
